<?php

namespace app\models;

use app\models\db\RoleFunctionPointRelation;

class RoleFunctionPointRelationExt
{
	/**
	 * 获取function_point_id
	 * @param  int $role_id
	 * @return array
	 * @author milloc
	 * @date   2018-04-26
	 */
	public static function getFunctionPointId($role_id)
	{
		return RoleFunctionPointRelation::find()->select('function_point_id')->where(['role_id' => $role_id])->column();
	}
}